package com.life.wd.service.Imp;

import com.life.wd.mapper.DashboardMapper;
import com.life.wd.service.DashboardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DashboardServiceImp implements DashboardService {
    @Autowired
    private DashboardMapper dashboardMapper;
    @Override
    public int getVideoTotalService() {
        return dashboardMapper.getVideoTotal();
    }

    @Override
    public int getUserTotalService() {
        return dashboardMapper.getUserTotal();
    }

    @Override
    public int getOrderTotalService() {
        return dashboardMapper.getOrderTotal();
    }

    @Override
    public int getReportTotalService() {
        return dashboardMapper.getReportTotal();
    }
}
